<?php
	header("Content-type: application/json");
	include("include1.php");
   $rs = mysql_query("DELETE FROM `khoiluongmoithau` WHERE `id` = '" . $_POST['models'][0]['Id'] . "'");
   if ($rs) {
        echo json_encode($rs);
  }
  else {
        header("HTTP/1.1 500 Internal Server Error");
        echo "Failed on delete: " . $_POST['models'][0]['Column1'];
  }
   mysql_close($con);

?> 